#include <iostream>
#include <cctype>
#include <cassert>

using namespace std;

int main(){
    string ciphertext, decrypted;
    char h;
    cin >> ciphertext;

    // Method 1: use C++ STL string.
    for (size_t i = 0; i < ciphertext.length(); i++) {
        char c = ciphertext[i];
        if (c == '&'){
             c = ' ';
        }
        else if (isupper(c)){
            c -= 'A';
            c += 26-7;
            c %= 26;
            c += 'A';
        }
        else if (islower(c)){
            c -= 'a';
            c += 26-7;
            c %= 26;
            c += 'a';
        }
        decrypted += c;
    }
    cout << decrypted << endl;
    return 0;
}
